+2000-11-15 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel
+ from the cursor
+ (render_layout_line): fix reversed test that caused weird
+ underlines to get drawn
+
2000-11-15 Alexander Larsson <alla@lysator.liu.se>
* gdk/linux-fb/gdkprivate-fb.h:
+2000-11-15 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel
+ from the cursor
+ (render_layout_line): fix reversed test that caused weird
+ underlines to get drawn
+
2000-11-15 Alexander Larsson <alla@lysator.liu.se>
* gdk/linux-fb/gdkprivate-fb.h:
+2000-11-15 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel
+ from the cursor
+ (render_layout_line): fix reversed test that caused weird
+ underlines to get drawn
+
2000-11-15 Alexander Larsson <alla@lysator.liu.se>
* gdk/linux-fb/gdkprivate-fb.h:
+2000-11-15 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel
+ from the cursor
+ (render_layout_line): fix reversed test that caused weird
+ underlines to get drawn
+
2000-11-15 Alexander Larsson <alla@lysator.liu.se>
* gdk/linux-fb/gdkprivate-fb.h:
+2000-11-15 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel
+ from the cursor
+ (render_layout_line): fix reversed test that caused weird
+ underlines to get drawn
+
2000-11-15 Alexander Larsson <alla@lysator.liu.se>
* gdk/linux-fb/gdkprivate-fb.h:
+2000-11-15 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel
+ from the cursor
+ (render_layout_line): fix reversed test that caused weird
+ underlines to get drawn
+
2000-11-15 Alexander Larsson <alla@lysator.liu.se>
* gdk/linux-fb/gdkprivate-fb.h:
+2000-11-15 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove extra pixel
+ from the cursor
+ (render_layout_line): fix reversed test that caused weird
+ underlines to get drawn
+
2000-11-15 Alexander Larsson <alla@lysator.liu.se>
* gdk/linux-fb/gdkprivate-fb.h:
{
if (need_ink)
pango_glyph_string_extents (run->glyphs, run->item->analysis.font,
- NULL, &logical_rect);
+ &ink_rect, &logical_rect);
else
pango_glyph_string_extents (run->glyphs, run->item->analysis.font,
- &ink_rect, &logical_rect);
+ NULL, &logical_rect);
}
else
{
line_display->x_offset + cursor->x,
current_y + line_display->top_margin + cursor->y,
line_display->x_offset + cursor->x,
- current_y + line_display->top_margin + cursor->y + cursor->height);
+ current_y + line_display->top_margin + cursor->y + cursor->height - 1);
cursor_list = cursor_list->next;
}